package cn.hxlc.tie.demo.modular.station.service;

import cn.hxlc.tie.demo.modular.station.entity.User;
import cn.hxlc.tie.demo.modular.station.model.param.UserParam;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {


    Boolean add(UserParam userParam);

    List<User> findAll(UserParam userParam);

    Boolean delete(int id);

    PageResult<User> queryListPage(UserParam userParam);

    List<User> findByOne(int id);

    Boolean updateByOne(UserParam userParam);

    List<User> findDate(int id);

    Boolean updateDate(UserParam userParam);

    Boolean batchDelete(List<Integer> ids);
}
